package com.example.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_cases")
public class Cases {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "cases_title")
    private String casesTitle;

    @TableField(value = "cases_introduce")
    private String casesIntroduce;

    @TableField(value = "cases_create_time")
    private Date casesCreateTime;

    @TableField(value = "cases_end_time")
    private Date casesEndTime;

    @TableField(value = "cases_plaintiff_name")
    private String casesPlaintiffName;

    @TableField(value = "cases_plaintiff_id_card")
    private String casesPlaintiffIdCard;

    @TableField(value = "cases_defendant_name")
    private String casesDefendantName;

    @TableField(value = "cases_defendant_id_card")
    private String casesDefendantIdCard;

    @TableField(value = "cases_type_id")
    private Integer casesTypeId;

    @TableField(exist = false)
    private String casesTypeName;

    @TableField(value = "cases_analysis")
    private String casesAnalysis;

    @TableField(value = "cases_comment_analysis")
    private String casesCommentAnalysis;

    @TableField(value = "cases_result")
    private String casesResult;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "cases_statute")
    private String casesStatute;

    @TableField(value = "cases_image")
    private String casesImage;

    @TableField(value = "cases_simple_introduce")
    private String casesSimpleIntroduce;

    @TableField(value = "annex1")
    private String annex1;

    @TableField(value = "annex2")
    private String annex2;

    @TableField(value = "annex3")
    private String annex3;

    @TableField(value = "cases_status")
    private String casesStatus;

}
